package scau.erps.view.decision.table;

import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;

public abstract class ListPanelTemplate extends JPanel{
	private static final long serialVersionUID = 1L;
	protected JTable table;
	public ListPanelTemplate(){
		table = new JTable();		
		table.setPreferredScrollableViewportSize(new Dimension(450, 220));
		JScrollPane loanListPanel = new JScrollPane(table);
		loanListPanel.setViewportView(table);		
		this.add(loanListPanel);		
	}
}
